﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Priest
    {
        public bool shadowCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (shadowPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (shadowDungeonCombat())
                    return true;
            }
            else
            {
                if (shadowQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool shadowHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (shadowPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (shadowDungeonHeal())
                    return true;
            }
            else
            {
                if (shadowQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool shadowBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (shadowPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (shadowDungeonBuff())
                    return true;
            }
            else
            {
                if (shadowQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool shadowPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (shadowPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (shadowDungeonPullSpell())
                    return true;
            }
            else
            {
                if (shadowQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
